package com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.remote

import com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.entity.QuesMarkDeatil
import com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.entity.QuesMarkInfor
import com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.entity.TempletLanguageSpecificListInfor
import io.reactivex.Single
import okhttp3.RequestBody
import retrofit2.http.*

/**
 * Created by Dadong on 2020/9/22
 * Describe:
 */
interface EvalService {

    /**
     *  获取试卷的待评阅试题列表信息
     */
    @Headers("urlName:base")
    @GET("/api/PaperEval/GetPaperForEval")
    fun getPaperForEval(@QueryMap params: MutableMap<String, Any>):
            Single<BaseData<QuesMarkInfor>>

    /**
     *  获取试卷的待评阅试题信息
     */
    @Headers("urlName:base")
    @GET("/api/PaperEval/GetQuesForEval")
    fun getQuesForEval(@QueryMap params: MutableMap<String, Any>):
            Single<BaseData<QuesMarkDeatil>>

    /*
   * 提交纠错信息
   * */
    @Headers("urlName:base")
    @POST("/api/PaperEval/SavePaperEval")
    fun savePaperEval(@Query("Token") token: String, @Query("UserID") userId: String, @Body postBody: RequestBody): Single<BaseData<Any>>


    /*
    *(一对一)获取移动端待评阅的试卷信息
    * */
    @Headers("urlName:oneOnOne")
    @GET(" api/PaperEval/GetMobilePaperInfo")
    fun getPaperForEval_1v1(@QueryMap params: MutableMap<String, Any>):
            Single<BaseData<QuesMarkInfor>>

    /*
    *
    * */
    @Headers("urlName:oneOnOne")
    @GET(" api/PaperEval/GetMobileQuesForEval")
    fun getQuesForEval_1v1(@QueryMap params: MutableMap<String, Any>):
            Single<BaseData<QuesMarkDeatil>>

}